{include file="common/header.html"}
<link href="css/style.css" rel="stylesheet" type="text/css">
<script src="js/common.js" type="text/javascript"></script>
<meta name="robots" content="none">

</head>
<body id="nv_member">

<div id="wp" class="wp">
    	
    <!--中间内容-->
    	<div class="contentmanage">
            <div class="tableContent">
                <div class="content">
                    <div class="cLineB">
                        <h4 class="left">
                            添加管理员
                        </h4>
	                    <a href="admin.php?m=tuwen" class="right btnGrayS vm">返回</a>
                        <div class="clr">
                        </div>
                    </div>
                    <div class="msgWrap bgfc">
                        <form action="admin.php?m=admin&a=add" method="post" class="form-horizontal form-validate">
                        	<input type="hidden" name="id" value="{$formData.id}" />
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    管理员组：
                                </label>
                                <div class="controls">
                                    <select name="formData[group_id]" class="input-large" id="group_id">
								    {foreach item=z from=$grouplist}
								    <option value="{$z.id}">{$z.group_name}</option>
								    {/foreach}
								    </select>
    								<span class="maroon">
                                        *
                                    </span>
                                    <span class="help-inline">
                                    
                                    </span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    用户名：
                                </label>
                                <div class="controls">
                                    <input type="text" id="login_id" name="formData[login_id]" value="{$formData.login_id}" class="input-large" style="width:200px"data-rule-required="true" data-rule-maxlength="100">
                                    <span class="maroon">
                                        *
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    密码：
                                </label>
                                <div class="controls">
                                    <input type="password" id="password" name="formData[password]" class="input-large" style="width:200px"data-rule-required="true" data-rule-maxlength="100">
                                    <span class="maroon">
                                        *
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    姓名：
                                </label>
                                <div class="controls">
                                    <input type="text" id="name" name="formData[name]" value="{$formData.name}" class="input-large" style="width:200px"data-rule-required="true" data-rule-maxlength="100">
                                    <span class="maroon">
                                        *
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    电话：
                                </label>
                                <div class="controls">
                                    <input type="text" id="phone" name="formData[phone]" value="{$formData.phone}" class="input-large" style="width:200px"data-rule-required="true" data-rule-maxlength="100">
                                    <span class="maroon">
                                        *
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                    <div class="form-actions">
                        <button type="submit" name="button" class="btnGreen">
                            保存
                        </button>
                        <a href="javascript:history.go(-1);" class="btnGray vm">
                            取消
                        </a>
                    </div>
                    </form>
                </div>
            </div>
            <div class="clr">
            </div>
        </div>
    </div>
</div>
<!--底部-->

 </body></html>